﻿@model EUTmvc.Models.FileClass

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

@using (Html.BeginForm("Index", "File", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>FileClass</legend>

        <div>
            @Html.TextBoxFor(m => m.file, new { @type = "file" })
        </div>
        <p>
            <input type="submit" value="Upload" />
        </p>
    </fieldset>
}